package com.gitee.mars.marsquickframe.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gitee.mars.marsquickframe.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * SysUser 持久层
 *
 * @Author wq
 * @Date 2021-03-15
 **/
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {


    SysUser selectNickname(@Param("nickname") String nickname);


    /**
     * 查询系统用户名称
     *
     * @param sysUserId sysUserId
     * @return String
     */
    String selectNicknameByUserId(@Param("sysUserId") Integer sysUserId);
}
